package com.jzfai.entity;
import java.io.Serializable;
import java.util.Date;
import java.math.BigInteger;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created on 2019-08-16.
 *
 * @author jzfai
 */
@ApiModel(value="权限表",description="Access")
public class Access implements Serializable {

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Integer id;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Integer sort;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Date addTime;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String moduleName;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Integer type;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String actionName;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String url;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private BigInteger moduleId;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String description;

	@ApiModelProperty(value ="pageNum",example="1",required =false,hidden = false)
	private Integer pageNum;

	@ApiModelProperty(value ="pageSize",example="10",required =false,hidden = false)
	private Integer pageSize;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getActionName() {
		return actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public BigInteger getModuleId() {
		return moduleId;
	}

	public void setModuleId(BigInteger moduleId) {
		this.moduleId = moduleId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public Access(){
	}
	public Access(Integer id,Integer sort,Date addTime,String moduleName,Integer type,String actionName,String url,BigInteger moduleId,String description,Integer pageNum,Integer pageSize){
		this.id = id;

		this.sort = sort;

		this.addTime = addTime;

		this.moduleName = moduleName;

		this.type = type;

		this.actionName = actionName;

		this.url = url;

		this.moduleId = moduleId;

		this.description = description;

		this.pageNum = pageNum;

		this.pageSize = pageSize;
	}
	public String toString() {
	  return "Access{"+

		" , id="+id+'\n'+

		" , sort="+sort+'\n'+

		" , addTime="+addTime+'\n'+

		" , moduleName="+moduleName+'\n'+

		" , type="+type+'\n'+

		" , actionName="+actionName+'\n'+

		" , url="+url+'\n'+

		" , moduleId="+moduleId+'\n'+

		" , description="+description+'\n'+

		" , pageSize="+pageSize+'\n'+

		" , pageNum="+pageNum+'\n'+
	  '}';
	}
}
